package com.sunny.shop.repository;

import com.sunny.shop.model.Banner;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;


public interface BannerRepository extends JpaRepository<Banner,Long> {

    Banner findOneByName(String name);

}
